package ims4its.technikumwien.at;

import java.util.Timer;
import java.util.TimerTask;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.view.View;


public class Ims4its_clientActivity extends Activity {
    
	private Thread mSplashThread;
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        final Ims4its_clientActivity sPlashScreen = this;
        mSplashThread = new Thread()
        {
        	@Override
        	public void run()
        	{
        		try 
        		{
        			synchronized(this)
        			{
        				//Wait given period of time or die
        				wait(5000);
        			}
        		}
        		catch(InterruptedException ex)
        		{
        			
        		}
        		finish();
        		Intent intent = new Intent();
        		intent.setClass(sPlashScreen, MainActivity.class);
        	}
        };
    }
    
    class showLogin extends TimerTask {
    	public void run() 
    	{
    		//setContentView(R.layout.);
    	}
    }
}

